gtkgesturesingle: Fallback to GtkGesture handling on GDK_TOUCHPAD_SWIPE
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 2 Mar 2017 17:14:00 +0000 (18:14 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Thu, 2 Mar 2017 17:25:04 +0000 (18:25 +0100)
commited34be8bb3ea983f78c23ea922d14f511f6a2409
treeddb4326d56853ead1f3a030aa17010c9a80e83cd
parentdc511a38d0956ad0edd008b0acb228eea0aafd01
gtkgesturesingle: Fallback to GtkGesture handling on GDK_TOUCHPAD_SWIPE

There are GtkGestureSingle subclasses that can be made to handle multiple
fingers (GtkGestureSingle is a subclass of GtkGesture, and not the
opposite, after all). And GtkGestureSwipe already tries to handle
GDK_TOUCHPAD_SWIPE events, except this event handler silently ignores
those.

Falling back to the GtkGesture generic handler which already
handles touchpad gesture events fixes this.
gtk/gtkgesturesingle.c